<!DOCTYPE html>
<html lang="en">
<head>
    <title>用户管理</title>
</head>
<body class="fixed-left">
<div id="wrapper">
    <#include "../header.html">
        <div class="content-page">
            <div class="content">
                <div class="container">
                    <div class="row">
                        <div class="col-md-6">
                            <div class="panel panel-color panel-primary">
                                <div class="panel-heading">
                                    <h3 class="panel-title">编辑城市</h3>
                                </div>
                                <div class="panel-body">
                                    <form class="form-horizontal" role="form" id="global-form" action="/admin/user/editsave" method="post">
                                        <input type="hidden" name="id" value="${info.id}" />
                                        <div class="form-group">
                                            <label class="col-md-3 control-label">用户名</label>
                                            <div class="col-md-9">
                                                <input type="text" class="form-control" name="username" placeholder="用户名"
                                                       value="${info.username}" required="required" aria-required="true"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-md-3 control-label">密码</label>
                                            <div class="col-md-9">
                                                <input type="text" class="form-control" name="password" placeholder="密码"
                                                       value="${info.password}" required="required" aria-required="true"/>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-md-3 control-label">状态</label>
                                            <div class="col-md-9">
                                                <input type="radio" <#if info.status==1>checked="checked"</#if> name="status" value="1">禁用
                                                <input type="radio" <#if info.status==0>checked="checked"</#if>  name="status" value="0">正常
                                            </div>
                                        </div>
                                        <input type="hidden" name="allow_install" id="allow_install"/>
                                        <div class="clearfix pull-right">
                                            <input type="submit" class="btn btn-primary waves-effect waves-light" name="保存" />
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>



                    </div>
                </div>
            </div>
        </div>
</div>
<#include "../footer.html">
</body>
</html>